package com.jeesite.modules.purchaseoutbound.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.purchaseoutbound.entity.PurchaseOutboundBarcode;
import com.jeesite.modules.purchaseoutbound.dao.PurchaseOutboundBarcodeDao;

/**
 * 采购退库单条码Service
 * @author 码脑洞
 * @version 2025-04-13
 */
@Service
public class PurchaseOutboundBarcodeService extends CrudService<PurchaseOutboundBarcodeDao, PurchaseOutboundBarcode> {
	
	/**
	 * 获取单条数据
	 * @param purchaseOutboundBarcode
	 * @return
	 */
	@Override
	public PurchaseOutboundBarcode get(PurchaseOutboundBarcode purchaseOutboundBarcode) {
		return super.get(purchaseOutboundBarcode);
	}
	
	/**
	 * 查询分页数据
	 * @param purchaseOutboundBarcode 查询条件
	 * @param purchaseOutboundBarcode page 分页对象
	 * @return
	 */
	@Override
	public Page<PurchaseOutboundBarcode> findPage(PurchaseOutboundBarcode purchaseOutboundBarcode) {
		return super.findPage(purchaseOutboundBarcode);
	}
	
	/**
	 * 查询列表数据
	 * @param purchaseOutboundBarcode
	 * @return
	 */
	@Override
	public List<PurchaseOutboundBarcode> findList(PurchaseOutboundBarcode purchaseOutboundBarcode) {
		return super.findList(purchaseOutboundBarcode);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param purchaseOutboundBarcode
	 */
	@Override
	@Transactional
	public void save(PurchaseOutboundBarcode purchaseOutboundBarcode) {
		super.save(purchaseOutboundBarcode);
	}
	
	/**
	 * 更新状态
	 * @param purchaseOutboundBarcode
	 */
	@Override
	@Transactional
	public void updateStatus(PurchaseOutboundBarcode purchaseOutboundBarcode) {
		super.updateStatus(purchaseOutboundBarcode);
	}
	
	/**
	 * 删除数据
	 * @param purchaseOutboundBarcode
	 */
	@Override
	@Transactional
	public void delete(PurchaseOutboundBarcode purchaseOutboundBarcode) {
		super.delete(purchaseOutboundBarcode);
	}
	
}